# import unittest
#
# import HTMLTestRunner_cn
# from HTMLTestRunner_cn import HTMLTestRunner
#
# report=HTMLTestRunner_cn.HTMLTestRunner(open('zxr.html','wb'),title='a3mall业务',description='搜索，购物车')
# suit=unittest.defaultTestLoader.discover(start_dir='./TestCast',pattern='TestCast.py')
# report.run(suit)
# import common
# import unittest
# import HTMLTestRunner_cn
#
#
# report=HTMLTestRunner_cn.HTMLTestRunner(open('zxr.html','wb'),title='a3mall业务',description='搜索，购物车')
# suit=unittest.defaultTestLoader.discover(start_dir='./TestCast',pattern='TestCast.py')
# report.run(suit)
#
# common.email(['zxr.log','zxr.html'])
import common
import unittest
import HTMLTestRunner_cn

report=HTMLTestRunner_cn.HTMLTestRunner(open('zxr.html','wb'),title='a3mall业务',description='搜索')
suit=unittest.defaultTestLoader.discover(start_dir='./TestCast',pattern='TestCast111')
report.run(suit)

common.email(['zxr.log','zxr.html'])








